﻿#pragma once


// CStdTestDlg 对话框

class CStdTestDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CStdTestDlg)

public:
	CStdTestDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CStdTestDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_STD };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	void ReadConfigIni();
	void SaveValueToConfig();

	BOOL OpenColor;
	int ColorX0;
	int ColorX1;
	int ColorX2;
	int ColorX3;
	int ColorX4;
	int ColorX5;
	int ColorY0;
	int ColorY1;
	int ColorY2;
	int ColorY3;
	int ColorY4;
	int ColorY5;
	int ColorR0;
	int ColorR1;
	int ColorR2;
	int ColorR3;
	int ColorR4;
	int ColorR5;
	int ColorG0;
	int ColorG1;
	int ColorG2;
	int ColorG3;
	int ColorG4;
	int ColorG5;
	int ColorB0;
	int ColorB1;
	int ColorB2;
	int ColorB3;
	int ColorB4;
	int ColorB5;
	int ColorSpec0;
	int ColorSpec1;
	int ColorSpec2;
	int ColorSpec3;
	int ColorSpec4;
	int ColorSpec5;
	int ColorW;
	int ColorH;
	BOOL OpenGray;
	int GrayX0;
	int GrayX1;
	int GrayX2;
	int GrayX3;
	int GrayX4;
	int GrayX5;
	int GrayY0;
	int GrayY1;
	int GrayY2;
	int GrayY3;
	int GrayY4;
	int GrayY5;
	int GraySpec0;
	int GraySpec1;
	int GraySpec2;
	int GraySpec3;
	int GraySpec4;
	int GrayW;
	int GrayH;
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	afx_msg void OnBnClickedButtonSave();
	afx_msg void OnEnChangeEdit1();

	int m_nInitFlag = 0;
};
